package d14_homework.homework03;

import java.security.PrivateKey;

public enum Fee {
    //定义三个枚举项:并完成初始化
    CHARGE_TYPE_CHARGED("101310001","自费"),
    CHARGE_TYPE_FREE("101310001","免费"),
    CHARGE_TYPE_MEMBER_RIGHTS("10131003","会员权益");

    //定义两个属性
    private String sign;
    private String type;
   /* Fee(){
        this(sign,type);
    }*/
    //构造方法(注意默认是被private修饰)
    Fee(String sign, String type) {
        this.sign = sign;
        this.type = type;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
